#ifndef MAINMENUFORM_H_
#define MAINMENUFORM_H_

#include <FBase.h>
#include <FUi.h>
#include <FIo.h>
#include <FText.h>
#include <FMedia.h>

class MainMenuForm :
	public Osp::Ui::Controls::Form,
	public Osp::Ui::IActionEventListener,
	public Osp::Ui::ICustomItemEventListener
{
public:
	MainMenuForm() { }
	virtual ~MainMenuForm() { }
	result Construct();
public:
	virtual result OnInitializing(void);
	virtual result OnTerminating(void);
	virtual void OnActionPerformed(const Osp::Ui::Control& source, int actionId) { }
	virtual void OnItemStateChanged(const Osp::Ui::Control &source, int index, int itemId, int elementId, Osp::Ui::ItemStatus status) { }
	virtual void OnItemStateChanged(const Osp::Ui::Control &source, int index, int itemId, Osp::Ui::ItemStatus status);

protected:
	static const int ID_NAVIGATE_TO = 101;
	static const int ID_MAP = 102;

	Osp::Ui::Controls::ScrollPanel *__pScrollPanel;
	Osp::Ui::Controls::CustomList *__pListMenu;
	Osp::Ui::Controls::CustomListItemFormat* __pCustomListItemFormat;
	Osp::Graphics::Bitmap* __pNavigateTo;
	Osp::Graphics::Bitmap* __pMap;
	static const int MENU_NAME_ID  = 102;
	static const int MENU_ICO_ID  = 101;
};

#endif /* MAINMENUFORM_H_ */
